package com.king.modules.system.domain;

import java.util.ArrayList;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.king.framework.base.domain.YyTreeEntity;

/**
 * 机构
 * @author lenovo
 *
 */
@TableName("sys_org")
public class SysOrgEntity extends YyTreeEntity {

	
	@TableField("type")
	private String type;

	@TableField("memo")
	private String memo;
	

	/** 子菜单 */
	@TableField(exist = false)
	private List<SysOrgEntity> children = new ArrayList<SysOrgEntity>();


	public String getType() {
		return type;
	}


	public void setType(String type) {
		this.type = type;
	}


	public String getMemo() {
		return memo;
	}


	public void setMemo(String memo) {
		this.memo = memo;
	}


	public List<SysOrgEntity> getChildren() {
		return children;
	}


	public void setChildren(List<SysOrgEntity> children) {
		this.children = children;
	}
	
	
	
}
